package cn.village.dao;
import cn.village.entity.DataDictionary;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DataDictionaryMapper {

	public DataDictionary getDataDictionaryById(@Param(value = "id") String id)throws Exception;

	public List<DataDictionary>	getDataDictionaryListByMap(Map<String,Object> param)throws Exception;

	public Integer getDataDictionaryCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertDataDictionary(DataDictionary dataDictionary)throws Exception;

	public Integer updateDataDictionary(DataDictionary dataDictionary)throws Exception;

	public Integer deleteDataDictionaryById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteDataDictionary(Map<String,List<String>> params);

}